/**
 * 支付宝需要被 promisified 的接口
 */
export const needPromisfiedApis = [
  'addPhoneContact',
  'alert',
  'chooseAlipayContact',
  'chooseCity',
  'chooseContact',
  'chooseImage',
  'chooseLocation',
  'choosePhoneContact',
  'chooseVideo',
  'clearStorage',
  'closeBluetoothAdapter',
  'closeSocket',
  'confirm',
  'compressImage',
  'connectBLEDevice',
  'connectSocket',
  'datePicker',
  'disconnectBLEDevice',
  'downloadFile',
  'getAddress',
  'getAuthCode',
  'getAvailableAudioSources',
  'getBatteryInfo',
  'getBeacons',
  'getBLEDeviceCharacteristics',
  'getBLEDeviceServices',
  'getBluetoothAdapterState',
  'getBluetoothDevices',
  'getConnectedBluetoothDevices',
  'getConnectedWifi',
  'getFileInfo',
  'getImageInfo',
  'getLocation',
  'getNetworkType',
  'getOpenUserInfo',
  'getPhoneNumber',
  'getRunData',
  'getRunScene',
  'getSavedFileInfo',
  'getSavedFileList',
  'getScreenBrightness',
  'getServerTime',
  'getSetting',
  'getStorage',
  'getStorageInfo',
  'getSystemInfo',
  'getTitleColor',
  'getWifiList',
  'hideKeyboard',
  'hideLoading',
  'hideNavigationBarLoading',
  'hideShareMenu',
  'hideTabBar',
  'hideTabBarRedDot',
  'hideToast',
  'loadFontFace',
  'makeBluetoothPair',
  'makePhoneCall',
  'multiLevelSelect',
  'navigateBack',
  'navigateBackMiniProgram',
  'navigateTo',
  'navigateToMiniProgram',
  'notifyBLECharacteristicValueChange',
  'onLocatedComplete',
  'openBluetoothAdapter',
  'openDocument',
  'openLocation',
  'openSetting',
  'optionsSelect',
  'pageScrollTo',
  'paySignCenter',
  'previewImage',
  'prompt',
  'readBLECharacteristicValue',
  'redirectTo',
  'regionPicker',
  'reLaunch',
  'removeSavedFile',
  'removeStorage',
  'removeTabBarBadge',
  'rsa',
  'saveFile',
  'saveImageToPhotosAlbum',
  'saveVideoToPhotosAlbum',
  'sendSocketMessage',
  'setBackgroundColor',
  'setBackgroundTextStyle',
  'setKeepScreenOn',
  'setLocatedCity',
  'setScreenBrightness',
  'setStorage',
  'setTabBarBadge',
  'setTabBarItem',
  'setTabBarStyle',
  'showActionSheet',
  'showAuthGuide',
  'showLoading',
  'showNavigationBarLoading',
  'showTabBar',
  'showTabBarRedDot',
  'showToast',
  'startAccelerometer',
  'startBeaconDiscovery',
  'startBluetoothDevicesDiscovery',
  'startCompass',
  'startPullDownRefresh',
  'stopAccelerometer',
  'stopBeaconDiscovery',
  'stopBluetoothDevicesDiscovery',
  'stopCompass',
  'stopPullDownRefresh',
  'switchTab',
  'textRiskIdentification',
  'tradePay',
  'uploadFile',
  'vibrate',
  'vibrateLong',
  'vibrateShort',
  'watchShake',
  'writeBLECharacteristicValue'
]
